<%@ page contentType="text/html" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<%@ taglib uri="http://richfaces.org/a4j" prefix="aj4" %>
<f:view>
	<h:form>  
		<h:outputText value="#{uiorcamentoaprovar.message}" id="lblNOC" />
		
		<h:commandButton value="Remover" action="success" actionListener="#{uiorcamentoaprovar.doRemoveOF}" rendered="#{uiorcamentoaprovar.kind==1}"/>
		<h:commandButton value="Confirmar" action="success" actionListener="#{uiorcamentoaprovar.doConfirmRemoveOF}" rendered="#{uiorcamentoaprovar.kind==4}"/>

		<h:commandButton value="Aprovar" action="success" actionListener="#{uiorcamentoaprovar.doAprove}" rendered="#{uiorcamentoaprovar.kind==2}"/>

		<h:inputText value="#{uiorcamentoaprovar.txtNumber}" id="txtNOC" rendered="#{uiorcamentoaprovar.kind==3}"/>
		<h:commandButton value="Aprovar" action="success" actionListener="#{uiorcamentoaprovar.doEnd}" rendered="#{uiorcamentoaprovar.kind==3}"/>
		<h:outputText value="#{uiorcamentoaprovar.action}" id="lblaction" />
		<h:commandButton value="Cancelar" action="fail" rendered="#{uiorcamentoaprovar.kind!=0}"/>

	</h:form>
</f:view>